<!-- <!DOCTYPE html> -->
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>发布相册信息</title>
</head>
<body>
        {% include "photomanageapp/photo/menu.html" %}
        <h3>添加相册信息</h3>
        <form class="text-left photo-form" action="{% url 'insertPhoto' %}" method="post" enctype="multipart/form-data">
            {% csrf_token %}
            <div class="form-item">
                <label>标题</label>
                <input type="text" name="title" />
            </div>
            <div class="form-item">
                <label>图片</label>
                <input type="file" name="photourl" />
            </div>
            <div class="form-item text-center">
                <button type="submit" class="button">添加</button>
                <button type="reset" class="button">重置</button>
            </div>
        </form>
    </div>
</body>
</html>